loadFragmentClass
open fun loadFragmentClass(@NonNull classLoader: ClassLoader, @NonNull className: String): Class<out Fragment>(source)
Parse a Fragment Class from the given class name. The resulting Class is kept in a global cache, bypassing the forName calls when passed the same class name again.
Return
Returns the parsed Fragment Class
Parameters
classLoader
The default classloader to use for loading the Class
className
The class name of the fragment to parse.
Throws
If there is a failure in parsing the given fragment class. This is a runtime exception; it is not normally expected to happen.